MobileMainPgBkUp.widgets = {
	notifyRegistration: ["wm.NotificationCall", {"operation":"toast"}, {}, {
		input: ["wm.ServiceInput", {"type":"toastInputs"}, {}, {
			binding: ["wm.Binding", {}, {}, {
				wire: ["wm.Wire", {"expression":"\"Registered Successfully.Please login  using the credentials\"","targetProperty":"text"}, {}],
				wire2: ["wm.Wire", {"expression":"\"Success\"","targetProperty":"cssClasses"}, {}],
				wire3: ["wm.Wire", {"expression":"\"center center\"","targetProperty":"dialogPosition"}, {}],
				wire1: ["wm.Wire", {"expression":"4000","targetProperty":"duration"}, {}]
			}]
		}]
	}],
	loginVariable1: ["wm.LoginVariable", {"useDefaultSuccessHandler":false}, {"onError":"loginFailed","onResult":"loadingDialog.hide","onSuccess":"onLoginSuccess"}, {
		input: ["wm.ServiceInput", {"type":"loginInputs"}, {}, {
			binding: ["wm.Binding", {}, {}, {
				wire: ["wm.Wire", {"expression":undefined,"source":"usernameInput.dataValue","targetProperty":"username"}, {}],
				wire1: ["wm.Wire", {"expression":undefined,"source":"passwordInput.dataValue","targetProperty":"password"}, {}]
			}]
		}]
	}],
	svRegistration: ["wm.ServiceVariable", {"inFlightBehavior":"executeLast","operation":"register","service":"RegistrationService"}, {"onSuccess":"notifyRegistration","onSuccess1":"layerLogin"}, {
		input: ["wm.ServiceInput", {"type":"registerInputs"}, {}, {
			binding: ["wm.Binding", {}, {}, {
				wire1: ["wm.Wire", {"expression":undefined,"source":"textActivationCode.dataValue","targetProperty":"activationCode"}, {}],
				wire: ["wm.Wire", {"expression":undefined,"source":"blockEditor1.dataValue","targetProperty":"customer.block"}, {}],
				wire2: ["wm.Wire", {"expression":undefined,"source":"doorEditor1.dataValue","targetProperty":"customer.door"}, {}],
				wire3: ["wm.Wire", {"expression":undefined,"source":"passwordEditor1.dataValue","targetProperty":"customer.password"}, {}],
				wire4: ["wm.Wire", {"expression":undefined,"source":"secondaryPhoneEditor1.dataValue","targetProperty":"customer.secondaryPhone"}, {}],
				wire5: ["wm.Wire", {"expression":undefined,"source":"primaryPhoneEditor1.dataValue","targetProperty":"customer.primaryPhone"}, {}],
				wire6: ["wm.Wire", {"expression":undefined,"source":"nameEditor1.dataValue","targetProperty":"customer.name"}, {}],
				wire7: ["wm.Wire", {"expression":undefined,"source":"emailEditor1.dataValue","targetProperty":"customer.email"}, {}]
			}]
		}]
	}],
	vUserName: ["wm.Variable", {"type":"StringData"}, {}],
	ncCustomerService: ["wm.NavigationCall", {"operation":"gotoPageContainerPage"}, {}, {
		input: ["wm.ServiceInput", {"type":"gotoPageContainerPageInputs"}, {}, {
			binding: ["wm.Binding", {}, {}, {
				wire: ["wm.Wire", {"expression":"\"MServicesPg\"","targetProperty":"pageName"}, {}],
				wire1: ["wm.Wire", {"expression":undefined,"source":"pcContent","targetProperty":"pageContainer"}, {}]
			}]
		}]
	}],
	vUserEmail: ["wm.Variable", {"type":"StringData"}, {}],
	vUserId: ["wm.Variable", {"type":"NumberData"}, {}],
	vProjectId: ["wm.Variable", {"type":"NumberData"}, {}],
	loadingDialog: ["wm.LoadingDialog", {"_classes":{"domNode":["rounded"]},"caption":"Logging in","captionWidth":"100px"}, {}, {
		binding: ["wm.Binding", {}, {}, {
			wire: ["wm.Wire", {"expression":undefined,"source":"loginInputPanel","targetProperty":"widgetToCover"}, {}]
		}]
	}],
	layoutBox1: ["wm.Layout", {"enableTouchHeight":true,"horizontalAlign":"left","verticalAlign":"top"}, {}, {
		headerPanel: ["wm.HeaderContentPanel", {"desktopHeight":"35px","deviceType":null,"enableTouchHeight":true,"height":"35px","horizontalAlign":"left","layoutKind":"left-to-right","mobileHeight":"35px","verticalAlign":"top","width":"100%"}, {}, {
			wmTitle: ["wm.Label", {"align":"center","caption":"Welcome to Service Live","deviceType":null,"enableTouchHeight":true,"height":"100%","padding":"4","styles":{"fontWeight":"bold","fontStyle":"normal","backgroundGradient":""},"width":"100%"}, {}]
		}],
		panelCenter: ["wm.Panel", {"deviceType":null,"height":"100%","horizontalAlign":"left","layoutKind":"left-to-right","verticalAlign":"top","width":"100%"}, {}, {
			pcContent: ["wm.PageContainer", {"deferLoad":true,"pageName":"MRegistrationPg","subpageEventlist":{},"subpageMethodlist":{},"subpageProplist":{}}, {}],
			accordionLayers1: ["wm.AccordionLayers", {"deviceType":null,"enableTouchHeight":true,"showing":false}, {}, {
				layerLogin: ["wm.Layer", {"borderColor":"","caption":"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Login","horizontalAlign":"left","themeStyleType":"","verticalAlign":"top"}, {}, {
					loginInputPanel: ["wm.Panel", {"_classes":{"domNode":["rounded"]},"border":"2","desktopHeight":"222px","deviceType":null,"enableTouchHeight":true,"fitToContentHeight":true,"height":"146px","horizontalAlign":"center","mobileHeight":"290px","styles":{"color":""},"verticalAlign":"top","width":"100%"}, {"onEnterKeyPress":"loginButton.click"}, {
						panel1: ["wm.Panel", {"fitToContentHeight":true,"height":"92px","horizontalAlign":"left","verticalAlign":"top","width":"100%"}, {}, {
							usernameInput: ["wm.Text", {"caption":"Username","captionSize":"120px","dataValue":undefined,"desktopHeight":"35px","displayValue":"","height":"45px","mobileHeight":"45px","width":"100%"}, {}],
							passwordInput: ["wm.Text", {"caption":"Password","captionSize":"120px","dataValue":undefined,"desktopHeight":"35px","displayValue":"","height":"45px","mobileHeight":"45px","password":true,"width":"100%"}, {}]
						}],
						loginButtonPanel: ["wm.Panel", {"height":"50px","horizontalAlign":"right","layoutKind":"left-to-right","padding":"4","width":"100%"}, {}, {
							loginErrorMsg: ["wm.Label", {"align":"center","caption":" ","height":"100%","padding":"4","singleLine":false,"width":"100%"}, {}, {
								format: ["wm.DataFormatter", {}, {}]
							}],
							loginButton: ["wm.Button", {"borderColor":"#000000","caption":"Login","height":"100%","margin":"4","width":"90px"}, {"onclick":"loginButtonClick","onclick2":"loadingDialog.show","onclick3":"loginVariable1"}]
						}]
					}]
				}],
				layerRegistration: ["wm.Layer", {"autoScroll":true,"borderColor":"","caption":"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Registration","horizontalAlign":"left","themeStyleType":"ContentPanel","verticalAlign":"top"}, {}, {
					panelContent: ["wm.Panel", {"height":"100%","horizontalAlign":"center","layoutKind":"left-to-right","verticalAlign":"top","width":"98%"}, {}, {
						formPanel1: ["wm.FormPanel", {"captionSize":"1px","deviceType":null,"editorHeight":"30px","enableTouchHeight":false,"height":"481px","type":"com.servicelivedb.data.Customer"}, {}, {
							labelAC: ["wm.Label", {"align":"center","caption":"Activation Code <span style='color:red'>*</span>","height":"20px","padding":"4","styles":{"fontWeight":"bold"},"width":"100%"}, {}],
							textActivationCode: ["wm.Text", {"caption":"Activation Code","captionSize":"1px","dataValue":undefined,"desktopHeight":"26px","displayValue":"","height":"30px","mobileHeight":"30px","placeHolder":"Activation Code","required":true,"width":"100%"}, {}],
							labelAC1: ["wm.Label", {"align":"center","caption":"Email <span style='color:red'>*</span>","height":"20px","padding":"4","styles":{"fontWeight":"bold"},"width":"100%"}, {}],
							emailEditor1: ["wm.Text", {"caption":"Email","captionSize":"1px","changeOnKey":true,"dataValue":"","desktopHeight":"26px","displayValue":"","emptyValue":"emptyString","height":"30px","mobileHeight":"30px","placeHolder":"Email","required":true,"width":"100%"}, {}],
							labelAC2: ["wm.Label", {"align":"center","caption":"Password <span style='color:red'>*</span>","height":"20px","padding":"4","styles":{"fontWeight":"bold"},"width":"100%"}, {}],
							passwordEditor1: ["wm.Text", {"caption":"Password","captionSize":"1px","changeOnKey":true,"dataValue":"","desktopHeight":"26px","displayValue":"","emptyValue":"emptyString","height":"30px","mobileHeight":"30px","password":true,"placeHolder":"Password","required":true,"width":"100%"}, {}],
							labelAC3: ["wm.Label", {"align":"center","caption":"Name <span style='color:red'>*</span>","height":"20px","padding":"4","styles":{"fontWeight":"bold"},"width":"100%"}, {}],
							nameEditor1: ["wm.Text", {"caption":"Name","captionSize":"1px","changeOnKey":true,"dataValue":"","desktopHeight":"26px","displayValue":"","emptyValue":"emptyString","height":"30px","mobileHeight":"30px","placeHolder":"Name","required":true,"width":"100%"}, {}],
							labelAC4: ["wm.Label", {"align":"center","caption":"Block <span style='color:red'>*</span>","height":"20px","padding":"4","styles":{"fontWeight":"bold"},"width":"100%"}, {}],
							blockEditor1: ["wm.Text", {"caption":"Block","captionSize":"1px","changeOnKey":true,"dataValue":"","desktopHeight":"26px","displayValue":"","emptyValue":"emptyString","height":"30px","mobileHeight":"30px","placeHolder":"Block","required":true,"width":"100%"}, {}],
							labelAC5: ["wm.Label", {"align":"center","caption":"Door <span style='color:red'>*</span>","height":"20px","padding":"4","styles":{"fontWeight":"bold"},"width":"100%"}, {}],
							doorEditor1: ["wm.Text", {"caption":"Door","captionSize":"1px","changeOnKey":true,"dataValue":"","desktopHeight":"26px","displayValue":"","emptyValue":"emptyString","height":"30px","mobileHeight":"30px","placeHolder":"Door","required":true,"width":"100%"}, {}],
							labelAC6: ["wm.Label", {"align":"center","caption":"Primary Phone <span style='color:red'>*</span>","height":"20px","padding":"4","styles":{"fontWeight":"bold"},"width":"100%"}, {}],
							primaryPhoneEditor1: ["wm.Text", {"caption":"PrimaryPhone","captionSize":"1px","changeOnKey":true,"dataValue":"","desktopHeight":"26px","displayValue":"","emptyValue":"emptyString","height":"30px","mobileHeight":"30px","placeHolder":"Primary Phone","required":true,"width":"100%"}, {}],
							labelAC7: ["wm.Label", {"align":"center","caption":"Secondary Phone","height":"20px","padding":"4","styles":{"fontWeight":"bold"},"width":"100%"}, {}],
							secondaryPhoneEditor1: ["wm.Text", {"caption":"SecondaryPhone","captionSize":"1px","changeOnKey":true,"dataValue":"","desktopHeight":"26px","displayValue":"","emptyValue":"emptyString","height":"30px","mobileHeight":"30px","placeHolder":"Secondary Phone","width":"100%"}, {}],
							panel3: ["wm.Panel", {"desktopHeight":"32px","enableTouchHeight":true,"height":"30px","horizontalAlign":"center","layoutKind":"left-to-right","mobileHeight":"30px","verticalAlign":"top","width":"100%"}, {}, {
								buttonRegistration: ["wm.Button", {"caption":"Register","height":"30px","margin":"4","mobileHeight":"30px"}, {"onclick":"svRegistration"}]
							}]
						}]
					}]
				}]
			}]
		}]
	}]
}